package com.xipu.yygh.feign.service_hosp;

import com.xipu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * description: 医院模块
 * @author: gql
 * @date: 2022/05
 */
@FeignClient("service-hosp")
@RequestMapping("/api/hosp/hospital")
public interface HospFeignClient {
    /**
     * 获取排班详情数据
     * @param scheduleId 排班Id
     * @return 排班详情Vo
     */
    @GetMapping("inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);
}
